<script type="text/javascript" src="__PUBLIC__/Js/jgsat.js"></script>
<div id="msg"></div>
<form name="myform" id="myform" action="<if condition="$action_name=='add'">{:U($module_name.'/insert')}<else />{:U($module_name.'/update')}</if>&iscreatehtml=1" method="post">
  <div id="filelist" class="hide"></div>
  <div class="error">
    
  </div>
  <table cellpadding=0 cellspacing=0 class="table_form" width="100%">
    <tr>
      <td width="8%" >标  题</td>
      <td width="90%" id="box_title">：<input type="text"   class="input-text " name="title"  id="name" value="{$vo['title']}" size=""  validate=" required:true" /></td>
    </tr>

    <tr>
        <td width="8%">描  述</td>
        <td width="90%" id="box_telephone">：<input type="text"   class="input-text " name="describe"  value="{$vo.describe}"  id="name"  size=""  validate=" required:true" />    
        </td>
    </tr>
  
    <tr>
        <td width="8%">类  型</td>
        <td width="90%" >:<select name="itemType">
                                <option value="">请选择</option>
                            <YP:list name="Label" where="genre=17" id="r" limit="50">
                                 <?php $seled = $vo['itemType'] == $r['id'] ? 'selected="selected"' : '';?>
                                <option value="{$r['id']}" {$seled}>{$r['title']}</option>
                            </YP:list>
                        </select>

        </td>
     </tr>
     <tr>
       <td width="8%">造  价</td>
        <td width="90%" id="box_telephone">：<input type="text"   class="input-text " name="budget"  value="{$vo.budget}" id="name"  size=""  validate=" required:true" />    
        </td>
     </tr>
     <tr>
        <td width="8%">风  格</td>
        <td width="90%" >:
            <select name="itemArea">
                    <option value="">请选择</option>
                <YP:list name="Label" where="genre=21" id="r" limit="50">
                     <?php $seled = $vo['style'] == $r['id'] ? 'selected="selected"' : '';?>
                    <option value="{$r['id']}" {$seled}>{$r['title']}</option>
                </YP:list>
            </select>

        </td>
    </tr>
     <tr>
        <td width="8%">面积</td>
        <td width="90%" >：<input type="text"   class="input-text " name="itemArea"  value="{$vo.itemArea}" id="name"  size=""  validate=" required:true" />        </td>
    </tr>
    <tr>
        <td width="8%">设计理念</td>
        <td width="90%" >：<textarea name="content" id="" cols="40" rows="10">{$vo['content']}</textarea>
        </td>
    </tr>
    <tr>
      <td width="8%" ><font color="red">*</font>发布时间</td>
      <td width="90%" id="box_createtime">：<input  class="Wdate input-text  "  validate=" required:true"   name="createtime" type="text" id="createtime" size="25" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'
		})" value="{if $vo['createtime']}{$vo['createtime']|todate}{else}{:date("Y-m-d h:i:s")}{/if}" /></td>
    </tr>

    <tr>
      <td width="10%" >状态</td>
      <td width="90%" id="box_status"><label style="float:left;width:75px" class="checkbox_status" >
          <input type="radio" class="input_radio " name="status" id="status_1" {if $vo[status]!=0}checked="checked"{/if} value="1" >
          已审核</label>
        <label style="float:left;width:75px" class="checkbox_status" >
          <input type="radio" class="input_radio " name="status" id="status_2" {if $vo[status]==0}checked="checked"{/if}  value="0" >
          未审核</label>
          </td>
    </tr>
  </table>
  <div id="bootline"></div>
  <div id="btnbox" class="btn">
    <if condition="$vo['id']!=''">
      <input TYPE="hidden" name="id" value="{$vo.id}">
    </if>
    <input type="hidden"  name="lang" value="{$langid}" />
    <input type="hidden" name="forward" value="{$_SERVER['HTTP_REFERER']}" />
    <INPUT TYPE="submit"  value="{:L('dosubmit')}" class="button" >
    <input TYPE="reset"  value="{:L('cancel')}" class="button">
  </div>
</form>
</div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                